.subway-legend {
  display: flex;
  justify-content: flex-end;
  padding-right: 0.32rem;
  padding-bottom: 0.24rem;

  &-item {
    display: flex;
    align-items: center;

    &:first-child {
      margin-right: 0.24rem;
    }

    span:first-child {
      display: inline-block;
      width: 0.16rem;
      height: 0.16rem;
      margin-right: 0.12rem;
      background-color: #6c717a;
      border-radius: 0.16rem;
    }
  }
}
